package com.min.redis.common.util.jedis;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.redis")
@Data
public class JedisProperties {

    /**
     * 域名
     */
    private String host;
    /**
     * 端口
     */
    private int port;
    /**
     * 数据库
     */
    private String database;
    /**
     * 密码
     */
    private String password;
}
